﻿namespace Acl.Modular
{
    /// <summary>
    /// 模块状态
    /// </summary>
    public enum ModuleState
    {
        /// <summary>
        /// 表示模块已经安装
        /// <para>Installed值为1</para>
        /// </summary>
        Installed,

        /// <summary>
        /// 模块配置中
        /// </summary>
        Configuring,

        /// <summary>
        /// 模块配置后
        /// </summary>
        Configured,

        /// <summary>
        /// 表示模块启动中
        /// </summary>
        Starting,

        /// <summary>
        /// 表示模块已经启动
        /// </summary>
        Started,

        /// <summary>
        /// 表示模块即将停止
        /// </summary>
        Stopping,

        /// <summary>
        /// 表示模块已经停止
        /// </summary>
        Stopped,
    }
}